﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace AppReviewerClient
{
    public partial class ShellView
    {
        //protected override void OnInitialized(EventArgs e)
        //{

        //    var screenWidth = SystemParameters.WorkArea.Width;
        //    var height = SystemParameters.WorkArea.Height;

        //    // assumo solo orizzontale
        //    var progWidth = (int)screenWidth;

        //    var browserWidth = (int)screenWidth - progWidth;

        //    //if (resizeType != "3")
        //    //    SetWindowPos(handle, IntPtr.Zero, (int)progWidth, 0, (int)browserWidth, (int)height, SWP_SHOWWINDOW);

        //    Application.Current.MainWindow.Left = 0;
        //    Application.Current.MainWindow.Top = 0;
        //    Application.Current.MainWindow.WindowState = WindowState.Normal;
        //    Application.Current.MainWindow.Width = screenWidth;
        //    Application.Current.MainWindow.Height = 140;
        //    Application.Current.MainWindow.Focus();
        //    base.OnInitialized(e);
        //}

        //private void Button_Click(object sender, RoutedEventArgs e)
        //{
        //    this.Close();
        //}
    }
}
